import type { ConfigTypes } from './types/index';

const config: ConfigTypes = {
  globalStyle: {
    navigationBarTextStyle: 'black',
    navigationBarBackgroundColor: '#fff',
    backgroundColor: '#fff',
    navigationStyle: 'custom',
  },
  tabBar: {
    custom: true,
    color: '#cccccc',
    selectedColor: '#FF9900',
    borderStyle: 'black',
    backgroundColor: '#ffffff',
    list: [
      {
        pagePath: 'pages/base/home/main',
        iconPath: 'static/tabbar/home.png',
        selectedIconPath: 'static/tabbar/home.png',
        text: '首页',
      },
      {
        pagePath: 'pages/base/contact/main',
        iconPath: 'static/tabbar/home.png',
        selectedIconPath: 'static/tabbar/home.png',
        text: '通讯录',
      },
      // {
      //   pagePath: 'pages/base/chat/main',
      //   iconPath: 'static/tabbar/home.png',
      //   selectedIconPath: 'static/tabbar/home.png',
      //   text: '对话',
      // },
      {
        pagePath: 'pages/base/mine/main',
        iconPath: 'static/tabbar/home.png',
        selectedIconPath: 'static/tabbar/home.png',
        text: '管理中心',
      },
    ],
  },
  easycom: {
    autoscan: true,
    custom: {
      // "^tm-(.*)": "@/tmui/components/tm-$1/tm-$1.vue"
    },
  },
  preloadRule: {

  },
};

export default config;
